const http = require('http');
let reqparams = new Array();
let mserver = http.createServer((req,res)=>{
	req.on('data',(chunk)=>{
		reqparams.push(chunk);
	});
	req.on('end',()=>{
		console.log(Buffer.from(reqparams).toString())
	});
	res.write('your params:'+reqparams);
	res.end(',end');
});
mserver.listen(3000); 